<?php
/**
 * 路由信息
 * */
namespace Socket;

class Route
{
    public $url;
    public $method;
    public $callAble;

    /**
     * @param string        $url
     * @param string        $method
     * @param callable      $callAble
     * */
    public function __construct($url, $method, $callAble)
    {
        $this->url = $url;
        $this->method = $method;
        $this->callAble = $callAble;
    }
}
